package com.example.encryptspringbootstart.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author by G007331
 * @Data 2021/4/13
 * @DESC:
 */
@ConfigurationProperties(prefix = "spring.encrypt")
public class EncryptProperties {

    private final static String DEFAULT_KEY = "";

    private String key = DEFAULT_KEY;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
